package cn.yejinwen.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.LinkedHashMap;

import cn.xiezonjie.model.Menu;
import cn.yejinwen.model.Admin_id;
import cn.yejinwen.model.Desk_id;
import cn.yejinwen.model.Menu_id;

public interface OrderCartDao {
	   public int AddCart(Menu_id m_id,Desk_id t_id,Admin_id a_id)  throws SQLException;//添加到订餐车
	   
	   public ResultSet reAddCart(Desk_id t_id) throws SQLException;//查询餐桌id
	    
	   public ResultSet reAddMenu(Menu_id m_id) throws SQLException;//查菜品id  
	   
	   public ArrayList selectCart(int m_id)  throws SQLException;//以菜品id为条件关联查询menu表的信息
	   
	   public int deleteCarts(int m_id,Desk_id t_id) throws SQLException;//删除orders的m_id
}
